package kfm.model;
import kfm.model.Account;

public class Admin extends Account {
    private String name;


    public Admin(String name, String phone, String passWord){
        super(phone,passWord);
        this.name = name;

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString(){
        return "管理员姓名：" + name + "  "+
                "管理员电话：" + getPhone() + "  "+
                "管理员密码：" + "******" + "  ";
    }

}
